home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / texinfo.lha / texinfo-3.1 / info / gc.h < prev    next >
C/C++ Source or Header  |  1993-02-01  |  1KB  |  37 lines

  1. /* gc.h -- Functions for garbage collecting unused node contents. */
  2.  
  3. /* This file is part of GNU Info, a program for reading online documentation
  4.    stored in Info format.
  5.  
  6.    Copyright (C) 1993 Free Software Foundation, Inc.
  7.  
  8.    This program is free software; you can redistribute it and/or modify
  9.    it under the terms of the GNU General Public License as published by
  10.    the Free Software Foundation; either version 2, or (at your option)
  11.    any later version.
  12.  
  13.    This program is distributed in the hope that it will be useful,
  14.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.    GNU General Public License for more details.
  17.  
  18.    You should have received a copy of the GNU General Public License
  19.    along with this program; if not, write to the Free Software
  20.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  
  22.    Written by Brian Fox (bfox@ai.mit.edu). */
  23.  
  24. #if !defined (_GC_H_)
  25. #define _GC_H_
  26.  
  27. /* Add POINTER to the list of garbage collectible pointers.  A pointer
  28.    is not actually garbage collected until no info window contains a node
  29.    whose contents member is equal to the pointer. */
  30. extern void add_gcable_pointer ();
  31.  
  32. /* Grovel the list of info windows and gc-able pointers finding those
  33.    node->contents which are collectible, and free them. */
  34. extern void gc_pointers ();
  35.  
  36. #endif /* !_GC_H_ */
  37.